package com.woogie.serv.async;

import java.io.IOException;

import android.os.AsyncTask;

import com.woogie.serv.constants.Numbers;

public class DataToServer extends AsyncTask{
	
	String data;
	SendDataThread st;
	boolean wait;
    public DataToServer(String data, boolean wait){
    	this.data = data;
    	this.wait = wait;
    }
	
	@Override
	protected Object doInBackground(Object... attr) {
		st = new SendDataThread(data,  Numbers.CONNECTION_PORT, wait);
		st.start();
        return null;
	}

}
